home *** CD-ROM | disk | FTP | other *** search
/ Exploring Where & Why / Exploring Where & Why.iso / pc / MODULES / LESSON01 / ACT01A / L01A2D.DIR / scripts_14_dragging.ls < prev    next >
Encoding:
Text File  |  2003-04-21  |  338 b   |  20 lines

  1. global gObj
  2.  
  3. on mouseEnter me
  4.   psmouseEnter(gObj, the currentSpriteNum)
  5. end
  6.  
  7. on mouseDown me
  8.   psMouseDown(gObj, the currentSpriteNum)
  9. end
  10.  
  11. on mouseWithin me
  12.   psmouseWithin(gObj, the currentSpriteNum)
  13. end
  14.  
  15. on mouseUp me
  16.   if psmouseUp(gObj, the currentSpriteNum, "theFace", "eyes") then
  17.     go(1, the moviePath & "L01A2e")
  18.   end if
  19. end
  20.